home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2000 July / macformat-092.iso / MacFormat 92 CD / Shareware Plus / Sound / MACAST Installer / MACAST 1.0 / Plugins / G-Force Particles / Spinners < prev    next >
MacBinary  |  2000-02-12  |  4.4 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Feb 12 13:38:54 2000, modified Sat Feb 12 13:38:54 2000, creator SimpleText, type ASCII, 3188 bytes "Spinners" , at 0xcf4 1032 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 53 70 69 6e 6e 65 | 72 73 00 00 00 00 00 00 |..Spinne|rs......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 00 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 0c 74 00 | 00 04 08 b4 cb 59 3e b4 |......t.|.....Y>.|
|00000060| cb 59 3e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Y>.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b5 cc 00 00 |........|........|
|00000080| 2f 2a 0d 20 20 20 20 20 | 54 68 69 73 20 66 69 6c |/*. |This fil|
|00000090| 65 20 64 6f 63 75 6d 65 | 6e 74 73 20 68 6f 77 20 |e docume|nts how |
|000000a0| 61 20 70 61 72 74 69 63 | 6c 65 20 63 6f 6e 66 69 |a partic|le confi|
|000000b0| 67 20 77 6f 72 6b 73 2e | 20 20 59 6f 75 20 73 68 |g works.| You sh|
|000000c0| 6f 75 6c 64 20 62 65 20 | 66 61 6d 69 61 6c 69 61 |ould be |famialia|
|000000d0| 72 20 77 69 74 68 20 74 | 68 65 20 69 6e 66 6f 20 |r with t|he info |
|000000e0| 70 72 65 73 65 6e 74 65 | 64 20 69 6e 20 74 68 65 |presente|d in the|
|000000f0| 20 77 61 76 65 73 68 61 | 70 65 20 22 52 6f 74 61 | wavesha|pe "Rota|
|00000100| 74 69 6e 67 20 43 6f 72 | 72 69 64 6f 72 22 20 61 |ting Cor|ridor" a|
|00000110| 6e 64 20 73 68 6f 75 6c | 64 20 62 65 20 66 61 6d |nd shoul|d be fam|
|00000120| 69 61 6c 69 61 72 20 77 | 69 74 68 20 77 68 61 74 |ialiar w|ith what|
|00000130| 27 73 20 70 72 65 73 65 | 6e 74 65 64 20 69 6e 20 |'s prese|nted in |
|00000140| 74 68 65 20 47 2d 46 6f | 72 63 65 20 64 6f 63 75 |the G-Fo|rce docu|
|00000150| 6d 65 6e 74 61 74 69 6f | 6e 2e 0d 0d 20 20 20 54 |mentatio|n... T|
|00000160| 68 65 72 65 27 73 20 34 | 20 64 69 66 66 65 72 65 |here's 4| differe|
|00000170| 6e 63 65 73 20 62 65 74 | 77 65 65 6e 20 61 20 70 |nces bet|ween a p|
|00000180| 61 72 74 69 63 6c 65 20 | 61 6e 64 20 61 20 77 61 |article |and a wa|
|00000190| 76 65 73 68 61 70 65 2e | 20 20 4f 74 68 65 72 20 |veshape.| Other |
|000001a0| 74 68 61 6e 20 74 68 65 | 73 65 20 33 20 74 68 69 |than the|se 3 thi|
|000001b0| 6e 67 73 2c 20 61 6c 6c | 20 74 68 65 20 64 6f 63 |ngs, all| the doc|
|000001c0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 72 6f 6d 20 |umentati|on from |
|000001d0| 22 52 6f 74 61 74 69 6e | 67 20 43 6f 72 72 69 64 |"Rotatin|g Corrid|
|000001e0| 6f 72 22 20 61 70 70 6c | 69 65 73 2e 0d 31 29 20 |or" appl|ies..1) |
|000001f0| 20 4f 6e 65 20 6f 72 20 | 6d 6f 72 65 20 70 61 72 | One or |more par|
|00000200| 74 69 63 6c 65 73 20 61 | 70 70 65 61 72 20 72 61 |ticles a|ppear ra|
|00000210| 6e 64 6f 6d 6c 79 20 77 | 68 69 6c 65 20 6f 6e 6c |ndomly w|hile onl|
|00000220| 79 20 6f 6e 65 20 77 61 | 76 65 73 68 61 70 65 20 |y one wa|veshape |
|00000230| 61 70 70 65 61 72 73 20 | 61 74 20 61 6e 79 20 67 |appears |at any g|
|00000240| 69 76 65 6e 20 74 69 6d | 65 2e 20 20 54 68 65 20 |iven tim|e. The |
|00000250| 50 50 72 62 20 70 61 72 | 61 6d 65 74 65 72 20 69 |PPrb par|ameter i|
|00000260| 6e 20 79 6f 75 72 20 47 | 2d 46 6f 72 63 65 20 70 |n your G|-Force p|
|00000270| 72 65 66 65 72 65 6e 63 | 65 73 20 66 69 6c 65 20 |referenc|es file |
|00000280| 64 65 74 65 72 6d 69 6e | 65 73 20 74 68 65 20 70 |determin|es the p|
|00000290| 72 6f 62 61 62 69 6c 69 | 74 79 20 6f 6e 65 20 6f |robabili|ty one o|
|000002a0| 72 20 6d 6f 72 65 20 70 | 61 72 74 69 63 6c 65 73 |r more p|articles|
|000002b0| 20 61 70 70 65 61 72 2e | 0d 32 29 20 20 50 61 72 | appear.|.2) Par|
|000002c0| 74 69 63 6c 65 73 20 68 | 61 76 65 20 61 6e 20 61 |ticles h|ave an a|
|000002d0| 64 64 69 74 69 6f 6e 61 | 6c 20 70 61 72 61 6d 65 |dditiona|l parame|
|000002e0| 74 65 72 20 63 61 6c 6c | 65 64 20 4e 55 4d 2c 20 |ter call|ed NUM, |
|000002f0| 61 6e 64 20 69 74 27 73 | 20 65 76 61 6c 75 61 74 |and it's| evaluat|
|00000300| 65 64 20 6f 6e 6c 79 20 | 6f 6e 63 65 20 28 77 68 |ed only |once (wh|
|00000310| 65 6e 20 74 68 65 20 70 | 61 72 74 69 63 6c 65 20 |en the p|article |
|00000320| 69 73 20 61 62 6f 75 74 | 20 74 6f 20 73 74 61 72 |is about| to star|
|00000330| 74 29 2e 20 20 57 68 65 | 6e 20 47 2d 46 6f 72 63 |t). Whe|n G-Forc|
|00000340| 65 20 64 65 63 69 64 65 | 73 20 74 68 61 74 20 69 |e decide|s that i|
|00000350| 74 27 73 20 67 6f 69 6e | 67 20 74 6f 20 72 75 6e |t's goin|g to run|
|00000360| 20 61 20 67 69 76 65 6e | 20 70 61 72 74 69 63 6c | a given| particl|
|00000370| 65 2c 20 69 74 20 72 75 | 6e 73 20 4e 55 4d 20 63 |e, it ru|ns NUM c|
|00000380| 6f 70 69 65 73 20 6f 66 | 20 74 68 61 74 20 70 61 |opies of| that pa|
|00000390| 72 74 69 63 6c 65 2e 20 | 20 49 66 20 79 6f 75 20 |rticle. | If you |
|000003a0| 68 61 76 65 20 65 78 70 | 65 72 69 65 6e 63 65 20 |have exp|erience |
|000003b0| 69 6e 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 2c 20 |in progr|amming, |
|000003c0| 4e 55 4d 20 69 73 20 68 | 6f 77 20 6d 61 6e 79 20 |NUM is h|ow many |
|000003d0| 69 6e 73 74 61 6e 63 65 | 73 20 6f 72 20 74 68 72 |instance|s or thr|
|000003e0| 65 61 64 73 20 61 72 65 | 20 6d 61 64 65 2e 20 20 |eads are| made. |
|000003f0| 46 6f 72 20 65 61 63 68 | 20 63 6f 70 79 2f 69 6e |For each| copy/in|
|00000400| 73 74 61 6e 63 65 2c 20 | 74 68 65 20 41 2c 20 42 |stance, |the A, B|
|00000410| 2c 20 61 6e 64 20 43 20 | 76 61 72 69 61 62 6c 65 |, and C |variable|
|00000420| 73 20 61 72 65 20 61 6c | 6c 20 73 68 61 72 65 64 |s are al|l shared|
|00000430| 2e 20 20 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |. For| example|
|00000440| 2c 20 69 66 20 79 6f 75 | 20 73 65 74 20 4e 55 4d |, if you| set NUM|
|00000450| 3d 22 33 22 2c 20 74 68 | 61 74 27 64 20 62 65 20 |="3", th|at'd be |
|00000460| 74 68 65 20 73 61 6d 65 | 20 74 68 69 6e 67 20 61 |the same| thing a|
|00000470| 73 20 63 6f 70 79 69 6e | 67 20 61 6e 64 20 70 61 |s copyin|g and pa|
|00000480| 73 74 69 6e 67 20 61 6c | 6c 20 74 68 65 20 58 2c |sting al|l the X,|
|00000490| 20 59 2c 20 42 2c 20 61 | 6e 64 20 43 20 65 78 70 | Y, B, a|nd C exp|
|000004a0| 72 65 73 73 69 6f 6e 73 | 20 74 77 69 63 65 20 28 |ressions| twice (|
|000004b0| 72 65 6e 75 6d 62 65 72 | 69 6e 67 20 74 68 65 20 |renumber|ing the |
|000004c0| 70 61 73 74 65 64 20 65 | 78 70 72 65 73 73 69 6f |pasted e|xpressio|
|000004d0| 6e 73 20 77 69 74 68 20 | 6e 65 77 20 69 6e 64 65 |ns with |new inde|
|000004e0| 78 20 76 61 6c 75 65 73 | 29 2e 20 20 0d 33 29 20 |x values|). .3) |
|000004f0| 20 59 6f 75 20 68 61 76 | 65 20 61 63 63 65 73 73 | You hav|e access|
|00000500| 20 74 6f 20 61 20 76 61 | 72 69 61 62 6c 65 20 63 | to a va|riable c|
|00000510| 61 6c 6c 65 64 20 22 49 | 44 22 2e 20 20 49 74 27 |alled "I|D". It'|
|00000520| 73 20 61 20 6e 75 6d 62 | 65 72 20 66 72 6f 6d 20 |s a numb|er from |
|00000530| 30 20 74 6f 20 4e 55 4d | 2d 31 20 74 68 61 74 20 |0 to NUM|-1 that |
|00000540| 69 64 65 6e 74 69 66 69 | 65 73 20 74 68 65 20 63 |identifi|es the c|
|00000550| 6f 70 79 2f 69 6e 73 74 | 61 6e 63 65 2e 0d 34 29 |opy/inst|ance..4)|
|00000560| 20 20 59 6f 75 20 68 61 | 76 65 20 61 63 63 65 73 | You ha|ve acces|
|00000570| 73 20 74 6f 20 61 20 76 | 61 72 69 61 62 6c 65 20 |s to a v|ariable |
|00000580| 63 61 6c 6c 65 64 20 22 | 45 4e 44 5f 54 49 4d 45 |called "|END_TIME|
|00000590| 22 2e 20 20 49 74 27 73 | 20 74 68 65 20 73 79 73 |". It's| the sys|
|000005a0| 74 65 6d 20 74 69 6d 65 | 20 28 74 68 65 20 73 61 |tem time| (the sa|
|000005b0| 6d 65 20 75 6e 69 74 73 | 20 61 74 20 74 68 65 20 |me units| at the |
|000005c0| 22 74 22 20 76 61 72 69 | 61 62 6c 65 29 20 77 68 |"t" vari|able) wh|
|000005d0| 65 6e 20 74 68 65 20 70 | 61 72 74 69 63 6c 65 20 |en the p|article |
|000005e0| 77 69 6c 6c 20 65 78 70 | 69 72 65 2e 20 20 46 6f |will exp|ire. Fo|
|000005f0| 72 20 65 78 61 6d 70 6c | 65 2c 20 28 20 45 4e 44 |r exampl|e, ( END|
|00000600| 5f 54 49 4d 45 20 2d 20 | 74 20 29 20 69 73 20 68 |_TIME - |t ) is h|
|00000610| 6f 77 20 6d 61 6e 79 20 | 73 65 63 6f 6e 64 73 20 |ow many |seconds |
|00000620| 75 6e 74 69 6c 20 74 68 | 65 20 70 61 72 74 69 63 |until th|e partic|
|00000630| 6c 65 20 65 78 70 69 72 | 65 73 2e 0d 0d 54 68 69 |le expir|es...Thi|
|00000640| 73 20 70 61 72 74 69 63 | 6c 65 20 6d 61 6b 65 73 |s partic|le makes|
|00000650| 20 32 20 74 6f 20 35 20 | 73 70 69 6e 6e 69 6e 67 | 2 to 5 |spinning|
|00000660| 2f 6f 72 62 69 74 69 6e | 67 20 61 72 63 20 73 65 |/orbitin|g arc se|
|00000670| 67 6d 65 6e 74 73 20 74 | 68 61 74 20 73 6c 6f 77 |gments t|hat slow|
|00000680| 6c 79 20 72 6f 74 61 74 | 65 20 61 72 6f 75 6e 64 |ly rotat|e around|
|00000690| 20 28 30 2c 30 29 2e 20 | 0d 2a 2f 0d 0d 2f 2a 20 | (0,0). |.*/../* |
|000006a0| 20 32 20 74 6f 20 36 20 | 73 75 62 20 61 72 63 73 | 2 to 6 |sub arcs|
|000006b0| 20 69 73 20 66 69 6e 65 | 2e 20 20 72 6e 64 28 29 | is fine|. rnd()|
|000006c0| 20 77 69 6c 6c 20 72 65 | 74 75 72 6e 20 61 20 6e | will re|turn a n|
|000006d0| 6f 6e 2d 69 6e 74 65 67 | 65 72 2c 20 62 75 74 20 |on-integ|er, but |
|000006e0| 74 68 61 74 20 64 6f 65 | 73 6e 27 74 20 6d 61 74 |that doe|sn't mat|
|000006f0| 74 65 72 20 73 69 6e 63 | 65 20 4e 55 4d 20 77 69 |ter sinc|e NUM wi|
|00000700| 6c 6c 20 63 68 6f 70 20 | 6f 66 66 20 61 6e 79 20 |ll chop |off any |
|00000710| 6e 6f 6e 2d 69 6e 74 65 | 67 65 72 20 70 61 72 74 |non-inte|ger part|
|00000720| 2e 20 20 52 65 6d 65 6d | 62 65 72 20 74 68 61 74 |. Remem|ber that|
|00000730| 20 77 68 61 74 65 76 65 | 72 20 4e 55 4d 20 65 6e | whateve|r NUM en|
|00000740| 64 73 20 75 70 20 62 65 | 69 6e 67 20 68 65 72 65 |ds up be|ing here|
|00000750| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 20 72 61 6e | will be| the ran|
|00000760| 67 65 20 6f 66 20 49 44 | 20 28 75 73 65 64 20 6c |ge of ID| (used l|
|00000770| 61 74 65 72 29 2e 20 20 | 2a 2f 0d 4e 55 4d 3d 22 |ater). |*/.NUM="|
|00000780| 32 20 2b 20 72 6e 64 28 | 20 34 2e 31 20 29 22 2c |2 + rnd(| 4.1 )",|
|00000790| 0d 0d 2f 2a 20 20 57 65 | 27 72 65 20 6f 6e 6c 79 |../* We|'re only|
|000007a0| 20 6d 61 6b 69 6e 67 20 | 73 6d 61 6c 6c 20 61 72 | making |small ar|
|000007b0| 63 20 73 65 67 6d 65 6e | 74 73 20 73 6f 20 61 20 |c segmen|ts so a |
|000007c0| 64 6f 7a 65 6e 20 6f 72 | 20 74 77 6f 20 6c 69 6e |dozen or| two lin|
|000007d0| 65 73 20 69 73 20 70 6c | 65 6e 74 79 20 74 6f 20 |es is pl|enty to |
|000007e0| 6d 61 6b 65 20 65 61 63 | 68 20 61 72 63 20 73 65 |make eac|h arc se|
|000007f0| 67 6d 65 6e 74 20 6c 6f | 6f 6b 20 72 6f 75 6e 64 |gment lo|ok round|
|00000800| 20 2a 2f 0d 53 74 70 73 | 3d 31 35 2c 0d 0d 0d 2f | */.Stps|=15,.../|
|00000810| 2f 20 20 54 68 69 73 20 | 77 69 6c 6c 20 63 61 75 |/ This |will cau|
|00000820| 73 65 20 74 68 65 20 6f | 72 62 69 74 73 20 74 6f |se the o|rbits to|
|00000830| 20 62 65 20 65 6c 6c 69 | 70 73 65 73 20 77 68 65 | be elli|pses whe|
|00000840| 6e 65 76 65 72 20 74 68 | 65 20 66 72 61 6d 65 20 |never th|e frame |
|00000850| 69 73 20 6e 6f 6e 2d 73 | 71 75 61 72 65 0d 41 73 |is non-s|quare.As|
|00000860| 70 63 3d 30 2c 0d 0d 2f | 2a 20 20 54 68 65 20 41 |pc=0,../|* The A|
|00000870| 20 76 61 72 69 61 62 6c | 65 73 20 61 72 65 20 74 | variabl|es are t|
|00000880| 68 65 20 73 61 6d 65 20 | 66 6f 72 20 65 61 63 68 |he same |for each|
|00000890| 20 61 72 63 20 69 6e 73 | 74 61 6e 63 65 2e 20 0d | arc ins|tance. .|
|000008a0| 41 30 20 69 73 20 74 68 | 65 20 6f 72 62 69 74 20 |A0 is th|e orbit |
|000008b0| 73 69 7a 65 2f 72 61 64 | 69 75 73 0d 41 31 20 69 |size/rad|ius.A1 i|
|000008c0| 73 20 74 68 65 20 6f 72 | 62 69 74 20 73 70 65 65 |s the or|bit spee|
|000008d0| 64 0d 41 32 20 69 73 20 | 68 6f 77 20 62 69 67 20 |d.A2 is |how big |
|000008e0| 65 61 63 68 20 61 72 63 | 20 73 65 67 6d 65 6e 74 |each arc| segment|
|000008f0| 20 77 69 6c 6c 20 62 65 | 20 2a 2f 0d 41 30 3d 22 | will be| */.A0="|
|00000900| 2e 34 20 2b 20 72 6e 64 | 28 20 2e 35 20 29 22 2c |.4 + rnd|( .5 )",|
|00000910| 0d 41 31 3d 22 2e 31 35 | 20 2b 20 72 6e 64 28 20 |.A1=".15| + rnd( |
|00000920| 2e 34 20 29 22 2c 0d 41 | 32 3d 22 28 20 2e 30 33 |.4 )",.A|2="( .03|
|00000930| 20 2b 20 72 6e 64 28 20 | 2e 30 37 20 29 20 29 20 | + rnd( |.07 ) ) |
|00000940| 2f 20 61 30 22 2c 0d 0d | 0d 2f 2a 20 20 48 65 72 |/ a0",..|./* Her|
|00000950| 65 20 77 65 20 61 73 73 | 75 6d 65 20 77 65 27 72 |e we ass|ume we'r|
|00000960| 65 20 70 72 6f 63 65 73 | 73 69 6e 67 20 73 75 62 |e proces|sing sub|
|00000970| 20 61 72 63 20 6e 75 6d | 62 65 72 20 49 44 2e 20 | arc num|ber ID. |
|00000980| 20 53 69 6e 63 65 20 77 | 65 20 6b 6e 6f 77 20 69 | Since w|e know i|
|00000990| 74 20 73 74 65 70 73 20 | 66 72 6f 6d 20 30 20 74 |t steps |from 0 t|
|000009a0| 6f 20 4e 55 4d 2d 31 2c | 20 0d 5b 32 20 2a 20 50 |o NUM-1,| .[2 * P|
|000009b0| 49 20 2a 20 28 20 49 44 | 20 2f 20 4e 55 4d 20 29 |I * ( ID| / NUM )|
|000009c0| 5d 20 65 78 70 72 65 73 | 73 65 73 20 74 68 65 20 |] expres|ses the |
|000009d0| 61 6e 67 6c 65 20 6f 66 | 20 73 75 62 61 72 63 20 |angle of| subarc |
|000009e0| 49 44 2e 20 20 54 68 65 | 20 5b 61 31 2a 74 5d 20 |ID. The| [a1*t] |
|000009f0| 74 65 72 6d 20 6a 75 73 | 74 20 63 61 75 73 65 73 |term jus|t causes|
|00000a00| 20 74 68 65 20 61 6e 67 | 6c 65 20 6f 66 20 73 75 | the ang|le of su|
|00000a10| 62 61 72 63 20 49 44 20 | 74 6f 20 73 6c 6f 77 6c |barc ID |to slowl|
|00000a20| 79 20 6d 6f 76 65 20 74 | 68 72 6f 75 67 68 20 74 |y move t|hrough t|
|00000a30| 69 6d 65 2e 20 20 57 65 | 20 6d 61 6b 65 20 74 68 |ime. We| make th|
|00000a40| 69 73 20 61 20 42 20 76 | 61 72 69 61 62 6c 65 20 |is a B v|ariable |
|00000a50| 62 65 63 61 75 73 65 20 | 61 6c 6c 20 74 68 65 20 |because |all the |
|00000a60| 73 74 75 66 66 20 69 6e | 20 71 75 6f 74 65 73 20 |stuff in| quotes |
|00000a70| 69 73 20 63 6f 6e 73 74 | 61 6e 74 20 66 6f 72 20 |is const|ant for |
|00000a80| 61 6e 79 20 67 69 76 65 | 6e 20 66 72 61 6d 65 20 |any give|n frame |
|00000a90| 28 69 65 2c 20 6f 6e 6c | 79 20 64 65 70 65 6e 64 |(ie, onl|y depend|
|00000aa0| 73 20 6f 6e 20 74 69 6d | 65 29 2e 20 2a 2f 20 0d |s on tim|e). */ .|
|00000ab0| 42 30 3d 22 61 31 20 2a | 20 74 20 2b 20 32 20 2a |B0="a1 *| t + 2 *|
|00000ac0| 20 50 49 20 2a 20 28 20 | 49 44 20 2f 20 4e 55 4d | PI * ( |ID / NUM|
|00000ad0| 20 29 22 2c 0d 0d 2f 2a | 20 20 57 65 20 73 65 74 | )",../*| We set|
|00000ae0| 20 75 70 20 42 30 20 74 | 6f 20 65 78 70 72 65 73 | up B0 t|o expres|
|00000af0| 73 20 74 68 65 20 61 6e | 67 6c 65 20 6f 66 20 74 |s the an|gle of t|
|00000b00| 68 65 20 73 74 61 72 74 | 70 6f 69 6e 74 20 6f 66 |he start|point of|
|00000b10| 20 73 75 62 61 72 63 20 | 49 44 20 61 74 20 74 69 | subarc |ID at ti|
|00000b20| 6d 65 20 74 2e 20 20 54 | 68 65 20 5b 61 32 2a 73 |me t. T|he [a2*s|
|00000b30| 5d 20 74 65 72 6d 20 61 | 64 64 73 20 74 6f 20 42 |] term a|dds to B|
|00000b40| 30 20 73 6f 20 74 68 61 | 74 20 61 20 73 75 62 61 |0 so tha|t a suba|
|00000b50| 72 63 20 69 73 20 74 72 | 61 63 65 64 20 61 73 20 |rc is tr|aced as |
|00000b60| 73 20 67 6f 65 73 20 66 | 72 6f 6d 20 30 20 74 6f |s goes f|rom 0 to|
|00000b70| 20 31 2e 20 20 20 49 6e | 20 74 68 65 20 65 6e 64 | 1. In| the end|
|00000b80| 2c 20 43 30 20 69 73 20 | 61 6e 20 61 6e 67 6c 65 |, C0 is |an angle|
|00000b90| 20 66 6f 72 20 61 20 67 | 69 76 65 6e 20 74 69 6d | for a g|iven tim|
|00000ba0| 65 20 61 6e 64 20 61 20 | 67 69 76 65 6e 20 76 61 |e and a |given va|
|00000bb0| 6c 75 65 20 6f 66 20 73 | 2e 20 20 57 65 20 6d 61 |lue of s|. We ma|
|00000bc0| 6b 65 20 74 68 69 73 20 | 61 20 43 20 76 61 72 69 |ke this |a C vari|
|00000bd0| 61 62 6c 65 20 62 65 63 | 61 75 73 65 20 77 65 20 |able bec|ause we |
|00000be0| 6e 65 65 64 20 74 6f 20 | 75 73 65 20 69 74 20 6d |need to |use it m|
|00000bf0| 75 6c 74 69 70 6c 65 20 | 74 69 6d 65 73 20 69 6e |ultiple |times in|
|00000c00| 20 74 68 65 20 58 20 61 | 6e 64 20 59 20 65 78 70 | the X a|nd Y exp|
|00000c10| 72 65 73 73 69 6f 6e 73 | 20 28 61 6e 64 20 77 61 |ressions| (and wa|
|00000c20| 6e 74 20 74 6f 20 61 76 | 6f 69 64 20 72 65 64 75 |nt to av|oid redu|
|00000c30| 6e 64 61 6e 74 20 63 6f | 6d 70 75 74 61 74 69 6f |ndant co|mputatio|
|00000c40| 6e 29 20 61 6e 64 20 62 | 65 63 61 75 73 65 20 69 |n) and b|ecause i|
|00000c50| 74 20 63 6f 6e 74 61 69 | 6e 73 20 73 2e 2a 2f 20 |t contai|ns s.*/ |
|00000c60| 0d 43 30 3d 22 62 30 20 | 2b 20 61 32 20 2a 20 73 |.C0="b0 |+ a2 * s|
|00000c70| 22 2c 0d 0d 0d 2f 2f 20 | 57 65 20 73 65 74 20 75 |",...// |We set u|
|00000c80| 70 20 61 30 20 74 6f 20 | 62 65 20 6f 75 72 20 72 |p a0 to |be our r|
|00000c90| 61 64 69 75 73 2c 20 73 | 6f 20 6a 75 73 74 20 64 |adius, s|o just d|
|00000ca0| 72 61 77 20 74 68 65 20 | 73 75 62 61 72 63 2c 20 |raw the |subarc, |
|00000cb0| 62 61 62 79 21 0d 58 30 | 3d 22 61 30 20 2a 20 63 |baby!.X0|="a0 * c|
|00000cc0| 6f 73 28 20 43 30 20 29 | 22 2c 0d 59 30 3d 22 61 |os( C0 )|",.Y0="a|
|00000cd0| 30 20 2a 20 73 69 6e 28 | 20 43 30 20 29 22 2c 0d |0 * sin(| C0 )",.|
|00000ce0| 0d 0d 0d 43 6f 6e 42 3d | 31 2c 0d 0d 56 65 72 73 |...ConB=|1,..Vers|
|00000cf0| 3d 31 30 30 00 00 00 00 | 00 00 00 00 00 00 00 00 |=100....|........|
|00000d00| 00 00 01 00 00 00 03 d6 | 00 00 02 d6 00 00 00 32 |........|.......2|
|00000d10| 3b 40 ff b0 26 1f 4e 5e | 4e 75 4e 56 00 00 10 2d |;@..&.N^|NuNV...-|
|00000d20| fe ae 66 04 42 2e 00 08 | 2f 2d ff e8 70 0a 3f 00 |..f.B...|/-..p.?.|
|00000d30| 48 6d fe 56 48 6d fe 52 | 48 6d fe 4a a9 8d 10 2e |Hm.VHm.R|Hm.J....|
|00000d40| 00 08 67 08 2f 2d fe 52 | a9 57 60 06 2f 2d fe 52 |..g./-.R|.W`./-.R|
|00000d50| a9 58 2f 2d ff e8 70 0b | 3f 00 48 6d fe 56 48 6d |.X/-..p.|?.Hm.VHm|
|00000d60| fe 52 48 6d fe 4a a9 8d | 10 2e 00 08 67 08 2f 2d |.RHm.J..|....g./-|
|00000d70| fe 52 a9 57 60 06 2f 2d | fe 52 a9 58 4e 5e 4e 75 |.R.W`./-|.R.XN^Nu|
|00000d80| 4e 56 ff f8 48 e7 18 00 | 48 6d fe 58 42 67 42 67 |NV..H...|Hm.XBgBg|
|00000d90| a8 80 42 40 3b 40 fe 58 | 60 00 00 fa 76 04 3d 43 |..B@;@.X|`...v.=C|
|00000da0| ff fc 70 00 2d 40 ff f8 | 48 6e ff f8 48 6e ff fc |..p.-@..|Hn..Hn..|
|00000db0| 2f 2d fe 58 2f 2d ff dc | 3f 3c 00 38 a9 e7 20 2e |/-.X/-..|?<.8.. .|
|00000dc0| ff f8 66 42 55 4f 70 01 | 3f 00 3f 2d fe 58 2f 2d |..fBUOp.|?.?-.X/-|
|00000dd0| ff dc 3f 3c 00 08 a9 e7 | 30 1f 3b 40 fe 58 48 6e |..?<....|0.;@.XHn|
|00000de0| 00 08 3f 03 2f 2d fe 58 | 2f 2d ff dc 3f 3c 00 58 |..?./-.X|/-..?<.X|
|00000df0| a9 e7 20 6e 00 08 21 6d | ff d2 00 10 2b 6e 00 08 |.. n..!m|....+n..|
|00000e00| 00 00 02 d2 00 24 00 00 | 00 00 00 0b 00 09 00 04 |.....$..|........|
|00000e10| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 03 00 0c |........|........|
|00000e20| 00 0a 00 01 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 08 00 0c 00 0a 00 03 | 00 00 00 09 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 01 d0 00 0b | 00 09 00 04 01 00 00 09 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 01 d4 00 0c 00 0a 00 03 |........|........|
|00000e60| 00 00 00 09 00 00 00 00 | 00 00 00 00 05 08 00 0b |........|........|
|00000e70| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 05 11 00 0c 00 0a 00 03 | 00 00 00 09 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 05 7b 00 0b | 00 09 00 04 00 00 00 09 |.....{..|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 05 8b 00 0c 00 0a 00 03 |........|........|
|00000eb0| 00 00 00 09 00 00 00 00 | 00 00 00 00 06 fb 00 0b |........|........|
|00000ec0| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 07 10 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 07 11 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 07 83 00 0b 00 09 00 04 |........|........|
|00000f00| 00 00 00 09 00 00 00 00 | 00 00 00 00 07 84 00 0b |........|........|
|00000f10| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 07 8c 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 07 8f 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 07 dd 00 0b 00 09 00 04 |........|........|
|00000f50| 00 00 00 09 00 00 00 00 | 00 00 00 00 07 de 00 0b |........|........|
|00000f60| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 07 e5 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 07 e7 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 08 7b 00 0b 00 09 00 04 |........|.{......|
|00000fa0| 00 00 00 09 00 00 00 00 | 00 00 00 00 08 7c 00 0b |........|.....|..|
|00000fb0| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 08 c7 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 08 c8 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 0a 2f 00 0b 00 09 00 04 |........|./......|
|00000ff0| 00 00 00 09 00 00 00 00 | 00 00 00 00 0a 30 00 0b |........|.....0..|
|00001000| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 0a 54 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |.T......|........|
|00001020| 00 00 00 00 0a 56 00 0c | 00 0a 00 03 00 00 00 09 |.....V..|........|
|00001030| 00 00 00 00 00 00 00 00 | 0b e0 00 0b 00 09 00 04 |........|........|
|00001040| 00 00 00 09 00 00 00 00 | 00 00 00 00 0b e1 00 0b |........|........|
|00001050| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 0b f2 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |........|........|
|00001070| 00 00 00 00 0b f5 00 0c | 00 0a 00 03 00 00 00 09 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 0c 35 00 0b 00 09 00 04 |........|.5......|
|00001090| 00 00 00 09 00 00 00 00 | 00 00 00 00 0c 36 00 0b |........|.....6..|
|000010a0| 00 09 00 04 01 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 0c 5f 00 0b 00 09 00 04 | 00 00 00 09 00 00 00 00 |._......|........|
|000010c0| 00 00 00 00 0c 62 00 0b | 00 09 00 04 01 00 00 09 |.....b..|........|
|000010d0| 00 00 00 00 00 00 00 00 | 01 00 00 00 03 d6 00 00 |........|........|
|000010e0| 02 d6 00 00 00 32 04 33 | 91 b8 1e 1e 00 00 00 1c |.....2.3|........|
|000010f0| 00 32 00 00 73 74 79 6c | 00 00 00 0a 00 80 ff ff |.2..styl|........|
|00001100| 00 00 00 00 04 33 fd 60 | 00 00 00 00 00 00 00 00 |.....3.`|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+